﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using sharpCmd.Classes;

namespace sharpCmd.Windows.Forms
{
    public class ListViewItemEx : ListViewItem
    {
        public ListViewItemEx(string[] subItems)
            : base(subItems)
        {

        }

        public void RefreshSize()
        {
            this.SubItems[2].Text = Info.SizeString; //TODO make constants for SIZE column
            //TODO do this only in full view
        }

        public FSObjectInfo Info { get; set; }
    }
}
